package kd.his_alarm_consumer_feign.service;


import kd.his_alarm_consumer_feign.configuration.FeignConfig;
import kd.his_alarm_consumer_feign.service.impl.HiHystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author：双
 * @time: 2020-02-16 21:39
 * @description:
 * @params: $
 * @return:$
 **/
@FeignClient(value = "his-alarm-server",configuration = FeignConfig.class,fallback = HiHystrix.class)
public interface HisAlarmServerFeign {
	@GetMapping(value = "/hi")
	String sayHiHisAlarmServer(@RequestParam(value = "name") String name);
	
}
